package com.server.http.handler.impl;

import com.server.ServerUtils;
import com.server.conditionenum.HttpReturnStatus;
import com.server.http.handler.HttpHandler;
import com.server.http.request.HttpRequestMessage;
import com.server.http.response.HttpResponseMessage;
import com.server.mine.net.HttpProtocol;

public class SetMatchAdjust extends HttpHandler{
	@Override
	public void handle(HttpRequestMessage request, HttpResponseMessage response) {
		String s = request.getParameter("switch");
		ServerUtils.is_match_adjust = s.equals("1");
		SetReturnData(response,1,HttpProtocol.SETMATCHADJUST,HttpReturnStatus.Successed);
	}
}